package com.wanmait.recycle.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.wanmait.recycle.pojo.Photolib;

public interface PhotolibService extends CommonService<Photolib> {

	/*分页插件查询所有*/
	PageInfo<Photolib> findAllPhotolib();
	/*删除多张图片*/
	void deleteByIds(String ids);
	/*添加一张或多张图片*/
    void insertPhotos(List<String> photoNames,Integer rubbishId);
    /*根据多个条件搜索*/
    PageInfo<Photolib> findByCriteria(String beginTime,String endTime,String searchStr);
}
